package com.chen.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chen.entity.Employee;
import com.chen.entity.R;

public interface EmployeeService extends IService<Employee> {

    R login(Employee employee);


    IPage<Employee> page(int page, int pageSize, String name);

    void add(Employee employee);

    Employee findByid(Long id);
}
